package com.example.himalayaproject.subscription.callback;

import com.example.himalayaproject.subscription.bean.detailsentity.DetailsEntity;
import com.example.himalayaproject.subscription.bean.programentity.ProgramEntity;
import com.example.himalayaproject.subscription.bean.recommendentity.LikeEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/12/8.
 */
public interface HttpSercive {
    @GET("mobile/discovery/v1/recommend/hotAndGuess?device=android")
     Call<LikeEntity> getList();
    /*
    * mobile/v1/album?albumId=4756811&device=android&pageId=null&pageSize=20*/
    @GET("mobile/v1/album?")
    Call<ProgramEntity> getProgram(@Query("albumId") String albumId,@Query("device") String android,@Query("pageId")String null1,@Query("pageSize") int pageSize);
   /*http://mobile.ximalaya.com/mobile/v1/album/detail?albumId=3523862*/
    @GET("mobile/v1/album/detail?")
    Call<DetailsEntity> getDetail(@Query("albumId") String albumId );
}
